<?php 
if(isset($_POST['addsquad'])){
	$managerSquad = new ManagerSquad($_POST['goalkeeper'], $_POST['defender0'], $_POST['defender1'], 
		$_POST['defender2'], $_POST['defender3'], $_POST['midfielder0'], $_POST['midfielder1'], 
		$_POST['midfielder2'], $_POST['midfielder3'], $_POST['striker0'], $_POST['striker1']);
	$dbconnect = DBconnect::getInstance();
	$dbconnect->addManagerSquad($_SESSION['manager'], $managerSquad);
	
}
?>